<!DOCTYPE html>
<html lang="zh">
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=EDGE"/>
  <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
  <link rel="shortcut icon" href="/webim/img/favicon.ico">
  <title>在线客服</title>
  <link rel="stylesheet" href="/webim/lib/bootstrap/dist/css/bootstrap.min.css">
  <link rel='stylesheet' href='/webim/css/style.css'>
  <!-- IE8及以下支持JSON,ES5特性 -->
  <!--[if lte IE 8]>
  <script src="/webim/lib/es5-shim/es5-shim.min.js"></script>
  <script src="/WebIM/lib/es5-shim/es5-sham.min.js"></script>
  <script src="/WebIM/lib/json3/lib/json3.min.js"></script>
  <![endif]-->
  <script>
    if(!window.console){
      window.console = {};
      window.console.log = window.console.info = window.console.error = window.console.debug = function () {};
    }
  </script>
</head>
<body class="index">
<div class="container-custom">
  <!-- 客服对话框 -->
  <div class="im-wrap">

  </div>
</div>

<script src="/webim/lib/jquery/dist/jquery.min.js"></script>
<script src="/webim/lib/jquery-form/jquery.form.js"></script>
<script src="//cdn.ronghub.com/RongIMLib-2.2.2.min.js"></script>
<script>
  var Meta = <%- JSON.stringify(meta) %>
  console.log('Meta:', Meta);
  RongIMLib.RongIMClient.init('<%= appKey %>'/*, new RongIMLib.WebSQLDataProvider()*/);

</script>

<script src="/webim/js/webimpeer.js"></script>
<script src="/webim/js/chat.bundle.js"></script>

<script>
  //百度统计
  var cassmall_reg = /cassmall\.com$/
  if (cassmall_reg.test(location.host)) {
    var _hmt = _hmt || [];
    (function () {
      var hm = document.createElement("script");
      hm.src = "//hm.baidu.com/hm.js?2f121731faa435df7b173e563ee84747";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  }
</script>
</body>
</html>
